package parse;

import Const.RC;
import SystemManagement.SM_Manager;

public class CreateView extends SQL{
	public String viewName;
	public SFW content;
	
	public CreateView(String v, SFW s){
		this.viewName = v;
		this.content = s;
	}
	
	public void  CrtView(String s, SM_Manager sm){
		try{
			content.Check(sm);
			sm.CreateView(viewName, s);
		}
		catch(Error e){
			throw e;
		}
	}
}
